import Vue from 'vue'
import Router from 'vue-router'
import detail from '@/page/detail'
import store from '@/page/store'
import index from '@/page/index'
import video from '@/page/video'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/detail',
      name: 'detail',
      component: detail
    },
    {
      path: '/store',
      name: 'store',
      component: store
    },
    {
      path: '/video',
      name: 'video',
      component: video
    }
  ]
})
